package org.lc.cmd.impl.sysreq;

import lombok.Getter;
import lombok.Setter;
import org.lc.cmd.CmdSession;
import org.lc.cmd.CmdSysReq;

public abstract class BaseSysReq implements CmdSysReq {
    @Getter
    @Setter
    private String id;

    @Setter
    private CmdSession session;

    @Setter
    private boolean clientReq;

    public BaseSysReq(String id, CmdSession session, boolean clientReq) {
        this.id = id;
        this.session = session;
        this.clientReq = clientReq;
    }

    @Override
    public CmdSession getSession() {
        return session;
    }

    @Override
    public boolean isClientReq() {
        return clientReq;
    }
}
